package models;

import java.util.ArrayList;
import java.util.List;

import javax.persistence.CascadeType;
import javax.persistence.Entity;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import play.data.validation.MaxSize;
import play.db.jpa.Model;

/**
 * @author islam
 * 
 * Une classe pour le modele de la ville
 */

@Entity
public class TakeMeTour  extends Model{

	@ManyToOne
	public ToursicItem morningItem;
	
	@ManyToOne
	public ToursicItem afternoonItem;
	
	@ManyToOne
	public ToursicItem nightItem;
	
	public TakeMeTour(ToursicItem morningItem, ToursicItem afternoonItem, ToursicItem nightItem) {
		this.morningItem = morningItem;
		this.afternoonItem = afternoonItem;
		this.nightItem = nightItem;
	}
	
	/*@Override
	public String toString() {
	    return name;
	}*/
	
}
